//headfootersmall补充一个logo图点击跳转首页
$(".listmainbox,.dengluTop").find("img").click(function(){
	window.location.href = "../index.html";
})


//菜单
$(".allProdous h2").mouseenter(function(){
	$(".redNav").css("display","block");
})

$(".allProdous").mouseleave(function(){
	$(".redNav li").css("background","#d32402");
});
//二级菜单
$(".redNav li").mouseenter(function(){
	$(this).css("background","url(fstvgo/dhb.gif)").siblings().css("background","#d32402");
//利用ajax获取json里的数据	
	$(".redNav .pinpai").eq( $(this).index() ).css("display" ,"block").html('<div class="pp1"><ul><li>家居用品</li><li>家居用品</li><li>家居用品</li><li>家居用品</li></ul></div><div class="pp2"><h2>家居用品</h2><p>乐扣乐扣</p><p>妙煮妇</p><p>乐扣乐扣</p><p>妙煮妇</p><p>乐扣乐扣</p></div><div class="pp3"><h2>家居用品</h2><img src="../img/20141121103155.jpg" alt="" title="" /><img src="../img/20141121145445.jpg" alt="" title="" /></div>');
	
	
}).mouseleave(function(){
	$(this).find("div").css("display","none");
});
$(".redNav").mouseleave(function(){
	$(".redNav").css("display","none");
})
$(".mygo").mouseenter(function(){
	$("#myfs").css("display","block");
});
$(".mygo").mouseleave(function(){
	$("#myfs").css("display","none");
});
$(".BannerTop_close").click(function(){
	$(".BannerTop").css("display","none");
});
$("#searchinpt").focus(function(){
	$(this).val("");
});
$("#searchinpt").blur(function(){
	$(this).val("请输入商品关键词或者贷号");
});
$("#searchBottom a").mouseenter(function(){
	$(this).css("color","red").siblings().css("color","black");
});
$(".goCar").mouseenter(function(){
	$(this).css("color","red").children().css("color","black");
}).mouseleave(function(){
	$(this).css("color","black");
});
$(".ask").mouseenter(function(){
	$(this).html("点击马上咨询我");
}).mouseleave(function(){
	$(this).html("");
})
//$(".ask").mouseenter(function(){
//	$("<span></span>").html("点击马上咨询我").addClass("zixun").appendTo( $("body") );
//}).mousemove(function(e){
//	var e = e||window.event;
//	var disx = e.clientX;
//	var disy = e.clientY;
//	$(".zixun").css({"left":disx,"top":disy,"position":"absolute"});
//})
//跳转到我的风尚
$("#myfs").find("li").click(function(){
	window.location.href = "./myFs.html";
});

//跳转到首页
$(".nav").find("a").click(function(){
	window.location.href = "../index.html";
})




























































